package com.zxl.yjb.bean;

public class CouponBean {


    /**
     * voucher : {"id":3,"uid":683,"order_amount":"80.00","topic_amount":"50.00","addtime":1528944942}
     * voucher_rule : {"id":1,"dec_per_order":2,"dec_per_topic":2,"action_order_low_throughout":3,"action_topic_low_throughout":3,"order_voucher_remark":"u8ba2u5355u4ea4u6613u91d1u989du5927u4e8e50u5143u65f6uff0cu4f7fu7528u4ee3u91d1u5238u4e00u6b212u5143","topic_voucher_remark":"u5171u4eabu4fe1u606fu91d1u989du5927u4e8e5u5143u65f6uff0cu4f7fu7528u4ee3u91d1u5238u4e00u6b212u5143"}
     */

    private VoucherBean voucher;
    private VoucherRuleBean voucher_rule;

    public VoucherBean getVoucher() {
        return voucher;
    }

    public void setVoucher(VoucherBean voucher) {
        this.voucher = voucher;
    }

    public VoucherRuleBean getVoucher_rule() {
        return voucher_rule;
    }

    public void setVoucher_rule(VoucherRuleBean voucher_rule) {
        this.voucher_rule = voucher_rule;
    }

    public static class VoucherBean {
        /**
         * id : 3
         * uid : 683
         * order_amount : 80.00
         * topic_amount : 50.00
         * addtime : 1528944942
         */

        private int id;
        private int uid;
        private String order_amount;
        private String topic_amount;
        private int addtime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getOrder_amount() {
            return order_amount;
        }

        public void setOrder_amount(String order_amount) {
            this.order_amount = order_amount;
        }

        public String getTopic_amount() {
            return topic_amount;
        }

        public void setTopic_amount(String topic_amount) {
            this.topic_amount = topic_amount;
        }

        public int getAddtime() {
            return addtime;
        }

        public void setAddtime(int addtime) {
            this.addtime = addtime;
        }
    }

    public static class VoucherRuleBean {
        /**
         * id : 1
         * dec_per_order : 2
         * dec_per_topic : 2
         * action_order_low_throughout : 3
         * action_topic_low_throughout : 3
         * order_voucher_remark : u8ba2u5355u4ea4u6613u91d1u989du5927u4e8e50u5143u65f6uff0cu4f7fu7528u4ee3u91d1u5238u4e00u6b212u5143
         * topic_voucher_remark : u5171u4eabu4fe1u606fu91d1u989du5927u4e8e5u5143u65f6uff0cu4f7fu7528u4ee3u91d1u5238u4e00u6b212u5143
         */

        private int id;
        private int dec_per_order;
        private int dec_per_topic;
        private int action_order_low_throughout;
        private int action_topic_low_throughout;
        private String order_voucher_remark;
        private String topic_voucher_remark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDec_per_order() {
            return dec_per_order;
        }

        public void setDec_per_order(int dec_per_order) {
            this.dec_per_order = dec_per_order;
        }

        public int getDec_per_topic() {
            return dec_per_topic;
        }

        public void setDec_per_topic(int dec_per_topic) {
            this.dec_per_topic = dec_per_topic;
        }

        public int getAction_order_low_throughout() {
            return action_order_low_throughout;
        }

        public void setAction_order_low_throughout(int action_order_low_throughout) {
            this.action_order_low_throughout = action_order_low_throughout;
        }

        public int getAction_topic_low_throughout() {
            return action_topic_low_throughout;
        }

        public void setAction_topic_low_throughout(int action_topic_low_throughout) {
            this.action_topic_low_throughout = action_topic_low_throughout;
        }

        public String getOrder_voucher_remark() {
            return order_voucher_remark;
        }

        public void setOrder_voucher_remark(String order_voucher_remark) {
            this.order_voucher_remark = order_voucher_remark;
        }

        public String getTopic_voucher_remark() {
            return topic_voucher_remark;
        }

        public void setTopic_voucher_remark(String topic_voucher_remark) {
            this.topic_voucher_remark = topic_voucher_remark;
        }
    }
}
